package com.financing.wap.service.impl;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IFaNoticeDao;
import com.financing.wap.dao.IProjectLikeDao;
import com.financing.wap.dto.FaNoticeDTO;
import com.financing.wap.service.IFaNoticeService;
import com.financing.wap.vo.FaNoticeVO;

@Repository("faNoticeService")
public class FaNoticeServiceImpl implements IFaNoticeService {
	
	@Autowired
	private IFaNoticeDao faNoticeDao;
	
	@Override
	public List<FaNoticeVO> getFaOrderNoticeByFa(FaNoticeVO n) throws Exception {
		return faNoticeDao.getFaOrderNoticeByFa(n);
	}
	
	@Override
	public int getFaOrderNoticeByFaCount(FaNoticeVO n) throws Exception {
		return faNoticeDao.getFaOrderNoticeByFaCount(n);
	}

	@Override
	public Map<String, Object> getFaOrderNoticeUpdateDateByFa(Map<String, Object> map) throws SQLException {
		return faNoticeDao.getFaOrderNoticeUpdateDateByFa(map);
	}

	@Override
	public void readFaNoticeByFa(FaNoticeVO faNotice) throws Exception {
		faNoticeDao.readFaNoticeByFa(faNotice);
	}

}
